from math import floor, ceil
left, right = 1, 2
#想要的精度
n = int(input())
prec = 1e-5

def get_radical(num, precision):
    global left, right
    mid = (right + left) / 2
    while (right - left) >= precision:
        print(left, right)
        mid = (right + left) / 2
        if mid * mid > num:
            right = mid
        else:
            left = mid
    return round(mid, 5)

print(get_radical(n, prec))


